package com.chengqs.rapid.client.core.autoconfigure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * <B>主类名称：</B>RapidProperties<BR>
 * <B>概要说明：</B>配置类<BR>
 *
 * @author: chengqs
 * @create: 2025-03-15 22:53:10
 **/
@Data
@ConfigurationProperties(prefix = RapidProperties.RAPID_PREFIX)
public class RapidProperties {
    public static final String RAPID_PREFIX = "rapid";

    /**
     * etcd注册中心的地址
     */
    private String registryAddress;

    /**
     * 	etcd注册命名空间
     */
    private String namespace = RAPID_PREFIX;

    /**
     * 	环境属性
     */
    private String env = "dev";
}
